package com.xmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmall.product.define.dto.saleAttr.SpuSaleAttrDo;
import com.xmall.product.entity.SpuSaleAttr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 属性 Mapper 接口
 * </p>
 *
 * @author xmall
 * @since 2023-11-02
 */
@Mapper
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {

    /**
     * 列表
     */
    List<SpuSaleAttrDo> listWithCascade(@Param("spuId") Long spuId);
}
